package uk.ac.strath.cis.metric_spaces.util;

public class Maths {
	
	public static double round(double value, int decimalPlaces){
		double multiplied = Math.pow(10, decimalPlaces);
	    return (double)Math.round(value * multiplied) / multiplied;
	}

}
